<template>
  <div class="page-container">
    <el-card class="main-card">
      <template #header>
        <div class="card-header">
          <span>库存总览</span>
          <el-button type="primary" :icon="RefreshRight" circle />
        </div>
      </template>
      <div class="page-content">
        <div class="content-placeholder">
          <el-icon class="placeholder-icon"><Box /></el-icon>
          <h3>库存总览</h3>
          <p>这里将显示库存的详细信息和统计数据</p>
        </div>
      </div>
    </el-card>
  </div>
</template>

<script setup lang="ts">
import { RefreshRight } from '@element-plus/icons-vue'
</script>

<style scoped>
.page-container {
  padding: 0;
  height: 100%;
  min-height: calc(100vh - 100px);
}

.main-card {
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.9);
  transition: all 0.3s ease;
}

.main-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 18px;
  font-weight: 600;
  color: #495057;
}

.card-header span {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-content {
  padding: 40px 0;
  text-align: center;
}

.content-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 12px;
  border: 2px dashed #dee2e6;
  transition: all 0.3s ease;
}

.main-card:hover .content-placeholder {
  background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
  border-color: #2196f3;
}

.placeholder-icon {
  font-size: 64px;
  color: #6c757d;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.main-card:hover .placeholder-icon {
  color: #2196f3;
  transform: scale(1.1);
}

.content-placeholder h3 {
  color: #495057;
  margin-bottom: 12px;
  font-weight: 600;
}

.content-placeholder p {
  color: #6c757d;
  font-size: 14px;
  margin: 0;
}
</style>
